﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UnitTestingExample.Lib
{
    public class Order
    {
        private int _itemCount;
        public int ItemCount 
        { 
            get
            {
                return _itemCount;
            }
        }

        private double _price;
        public double Price 
        { 
            get
            {
                return _price;
            }
        }

        public double TotalProce
        {
            get 
            {
                return ItemCount * Price;
            }
        }

        public Order(int itemCount, int price)
        {
            this._itemCount = itemCount;
            this._price = price;
        }
    }
}
